home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 15738 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.8 KB

  1. Path: solon.com!not-for-mail
  2. From: seebs@solutions.solon.com (Peter Seebach)
  3. Newsgroups: comp.lang.ada,comp.lang.c,comp.lang.c++,comp.edu
  4. Subject: Re: ANSI C and POSIX (was Re: C/C++ knocks the crap out of Ada)
  5. Date: 7 Apr 1996 20:35:42 -0500
  6. Organization: Usenet Fact Police (Undercover)
  7. Message-ID: <4k9qhe$65r@solutions.solon.com>
  8. References: <JSA.96Feb16135027@organon.com> <dewar.828757752@schonberg> <danpop.828819479@rscernix> <dewar.828879781@schonberg>
  9. Reply-To: seebs@solon.com
  10. NNTP-Posting-Host: solutions.solon.com
  11.  
  12. In article <dewar.828879781@schonberg>, Robert Dewar <dewar@cs.nyu.edu> wrote:
  13. >Dan, you miss the point, of course read in Linux is compliant with the
  14. >ANSI standard, precisely because this standard does NOT specify any
  15. >required behavior for read, and permits the addition of such functions.
  16.  
  17. No, it doesn't.  Rather, it permits their addition only if no strictly
  18. conforming program can tell.
  19.  
  20. Now, as it happens, Linux does do the right thing - if I define my own
  21. read(), I get *my* read any time I call read, so the implementation is
  22. conforming.
  23.  
  24. If I got a conflict when I linked, the system would be violating ANSI.
  25.  
  26. >How could you possibly claim that read could be non-compliant with ANSI
  27. >(something is either compliant or non-compliant, we do not have three
  28. >valued logic here).
  29.  
  30. Yes we do.  There are conforming, strictly conforming, and unconforming
  31. programs.  And there are many things an implementation could do which
  32. are partially compliant, I'm sure.  (Although "partially compliant"
  33. is not defined by ANSI.)
  34.  
  35. -s
  36. -- 
  37. Peter Seebach - seebs@solon.com - Copyright 1996 Peter Seebach.
  38. C/Unix wizard -- C/Unix questions? Send mail for help.  No, really!
  39. FUCK the communications decency act.  Goddamned government.  [literally.]
  40. The *other* C FAQ - http://www.solon.com/~seebs/c/c-iaq.html
  41.